package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jdk.nashorn.internal.ir.annotations.Reference;

import java.io.Serializable;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LOption
 * @date 2021.03.24 14:17
 * @describe 选项
 */
@TableName("l_option")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LOption对象", description="选项表")
public class LOption implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "option_id", type = IdType.AUTO)
    private Integer optionId;

    @TableField("questions_id")
    private Integer questionsId;

    @TableField("option_num")
    private String optionNum;

    @TableField("option_content")
    private String optionContent;

    public Integer getQuestionsId() {
        return questionsId;
    }

    public void setQuestionsId(Integer questionsId) {
        this.questionsId = questionsId;
    }

    public Integer getOptionId() {
        return optionId;
    }

    public void setOptionId(Integer optionId) {
        this.optionId = optionId;
    }

    public String getOptionNum() {
        return optionNum;
    }

    public void setOptionNum(String optionNum) {
        this.optionNum = optionNum;
    }

    public String getOptionContent() {
        return optionContent;
    }

    public void setOptionContent(String optionContent) {
        this.optionContent = optionContent;
    }
}
